import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { RoleEntity } from "./role.entity";
import { RoleService } from "./role.service";
import { RoleController } from "./role.controller";
import { MenuEntity } from "../menu/menu.entity";
import { MenuService } from "../menu/menu.service";

@Module({
    imports:[TypeOrmModule.forFeature([RoleEntity,MenuEntity])],
    providers:[RoleService,MenuService],
    controllers:[RoleController],
})
export class RoleModule{}